﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Menafrinet.ViewModel
{
    /// <summary>
    /// A class representing a case (person suspected of being sick with Meningitis)
    /// </summary>
    public class Case
    {
        private string _EPID = String.Empty;

        public string Guid { get; set; }
        public int UniqueKey { get; set; }
        public string EPID
        {
            get
            {
                return this._EPID;
            }
            set
            {
                this._EPID = value;

                // TODO: Move validation checks to here from VM?
            }
        }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public string NameOfParent { get; set; }
        public string Sex { get; set; }
        public string Classification { get; set; }
        public string Outcome { get; set; }
        public int? EpiWeek { get; set; }
        public double? Year { get; set; }
        public double? Age { get; set; }
        public double? AgeYears { get; set; }
        public double? AgeMonths { get; set; }
        public string UrbanRural { get; set; }
        public string DistrictResidence { get; set; }
        public string DistrictReporting { get; set; }
        public string City { get; set; }
        public DateTime? DOB { get; set; }
        public string HealthFacility { get; set; }
        public DateTime? DateOnset { get; set; }
        public byte RecStatus { get; set; }
        public string FinalLabResult { get; set; }
        public string LPPerformed { get; set; }

        public DateTime? DateRecordCreated { get; set; }
        public DateTime? DateRecordUpdated { get; set; }
    }
}
